package com.example.workbook.service;

import com.example.workbook.common.R;
import com.example.workbook.model.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.workbook.model.request.UserRequest;

import javax.servlet.http.HttpSession;

/**
* @author 53067
* @description 针对表【user】的数据库操作Service
* @createDate 2023-08-09 14:26:33
*/
public interface UserService extends IService<User> {

    R registryUser(UserRequest registryRequest);

    R userLogin(UserRequest loginRequest, HttpSession httpSession);

    R allUser();

    R userOfId(int id);
}
